import React, { Component } from 'react'
import './app.css';
import CommentAdd from '../comment-add/comment-add';
import CommentList from '../comment-list/comment-list';
class App extends Component {
    // constructor(props) {
    //     super(props)
    // }
    render() {
        return (
            <div>
                
                <header className="site-header jumbotron">
                    <div className="container">
                        <div className="row">
                            <div className="col-xs-12">
                                <h1>请发表对React的评论</h1>
                            </div>
                        </div>
                    </div>
                </header>
                <div className="container">
                    <CommentAdd></CommentAdd>
                    <CommentList></CommentList>
                </div>
            </div>
        )
    }
}

export default App
